package com.empire.module.member.controller.admin.accounttype.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 账号平台新增/修改 Request VO")
@Data
public class AccountTypeSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1694")
    private Long id;

    @Schema(description = "平台名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "平台名称不能为空")
    private String name;

}